<template>
  <div class="form-item">
    <div class="item-label">{{ label }}</div>
    <div class="item-content">
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    label: {
      type: String,
      default: ''
    }
  }
}
</script>
<style lang="less" scoped>
.form-item {
  display: flex;
  height: 36px;
  padding: 7px 0;
  margin: 0 15px;
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
  justify-content: space-between;
  .item-label {
    line-height: 36px;
    font-size: 14px;
    color: #011445;
    opacity: 0.6;
    // margin-right: 15px;
  }
  .item-content {
    width: 55vw;
  }
}
</style>